#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[])
{
    char str[10] = {'a', '\0', 'b', 'C', '\0', 'd'};
    char str_1[] = "abcde"; 

    printf("lenth of str: %ld\n", strlen(str));
    printf("size of str: %ld\n", sizeof(str) / sizeof(char));
    printf("---------------1\n");

    printf("lenth of str: %ld\n", strlen(str_1));
    printf("size of str: %ld\n", sizeof(str_1) / sizeof(char));
    printf("---------------2\n");

    char str_2[] = "\t\v\\\0will\n";
    
    printf("lenth of str: %ld\n", strlen(str_2));
    printf("size of str: %ld\n", sizeof(str_2) / sizeof(char));
    printf("---------------3\n");

    char str_3[] = "\x69\141";
    
    printf("lenth of str: %ld\n", strlen(str_3));
    printf("size of str: %ld str=%s \n", sizeof(str_3) / sizeof(char), str_3);
    printf("---------------4\n");

    return 0;
}
